VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / Fill Method / Fill(Int32,Int32,DataTable[]) Method
The zero-based record number to start with.
The maximum number of records to retrieve.
The System.Data.DataTable objects to fill from the data source.


In This Topic
    Fill(Int32,Int32,DataTable[]) Method
    In This Topic
    Adds or refreshes rows in a System.Data.DataTable to match those in the data source starting at the specified record and retrieving up to the specified maximum number of records.
    Syntax
    'Declaration
     
    
    Public Overloads Function Fill( _
       ByVal startRecord As System.Integer, _
       ByVal maxRecords As System.Integer, _
       ByVal ParamArray dataTables() As System.Data.DataTable _
    ) As System.Integer
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim startRecord As System.Integer
    Dim maxRecords As System.Integer
    Dim dataTables() As System.Data.DataTable
    Dim value As System.Integer
     
    value = instance.Fill(startRecord, maxRecords, dataTables)
    public System.int Fill( 
       System.int startRecord,
       System.int maxRecords,
       params System.Data.DataTable[] dataTables
    )

    Parameters

    startRecord
    The zero-based record number to start with.
    maxRecords
    The maximum number of records to retrieve.
    dataTables
    The System.Data.DataTable objects to fill from the data source.

    Return Value

    The number of rows successfully added to or refreshed in the System.Data.DataTable. This value does not include rows affected by statements that do not return rows.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also